<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>猜拳游戏</title>
    <link rel="stylesheet" href="./css/main.css">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
</head>

<body>
    <div id="app">
        <div class="left">
            <h3>机器人：</h3>
            <div class="pic"><img :src="gameItems[AIOpt].src" alt=""></div>
        </div>
        <div class="center">
            <span>vs</span>
        </div>
        <div class="right">
            <div class="user">
                <h3>你：</h3>
                <select name="game" v-model="playerOpt">
                  <option value="0" >剪刀</option>
                  <option value="1">石头</option>
                  <option value="2">布</option>
                </select>
                <button @click="start">猜拳</button>
            </div>
            <div class="pic"><img :src="gameItems[playerOpt].src"></div>
        </div>
    </div>
</body>
<script src="./js/lib/vue.js"></script>
<script src="./js/main.js"></script>

</html>